<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript" src="__PUBLIC__/Home/js/jquery.min.js"></script>
	
</head>
<body>
	<form action="{:U(MODULE_NAME.'/Public/img_passport')}" enctype="multipart/form-data" method="post" >

		<input type="text" name="name" />
		<input type="file" name="photo" value="C://passport_img/img.jpg" />
		<input type="submit" value="提交" >

	</form>
</div>
</body>
<!-- <script type="text/javascript">
	$(function(){
		var val = $('#img').val();
		if(val == '')
		{
			$('#dd').submit();
		}
	})
	</script> -->
</html>